package com.yuanzong.wuliu.controller.admin.business.customer.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class AdminBusinessCustomerDaijiaxianSaveDetailsParam {

    @ApiModelProperty(value = "详情ID")
    private Long id;

    @ApiModelProperty(value = "代驾险名称")
    @NotEmpty(message = "代驾险名称不能为空")
    private String name;

    @ApiModelProperty(value = "内容类型 1文本 2图片")
    @NotNull(message = "内容类型不能为空")
    private Integer contentType;

    @ApiModelProperty(value = "内容")
    @NotEmpty(message = "内容不能为空")
    private String content;

    @ApiModelProperty(value = "排序")
    @NotNull(message = "排序不能为空")
    private Integer sort;
}
